const Redis = require('ioredis');
/**
 * redis
 * @type {{port: number, prefix: string, host: string, family: number, ttl: number, db: number}}
 */
const redis = {
    port: 6379,
    host: '127.0.0.1',
    prefix: 'sam:',
    ttl: 60 * 60 * 23,
    family: 4,
    db: 0
};
const newRedis = new Redis(redis);
module.exports = newRedis;
